package com.example.myerp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.myerp.pojo.S_pay;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhuxingyu
 * @since 2021-08-10
 */
@SuppressWarnings("all")
public interface S_payMapper extends BaseMapper<S_pay> {
    void addSpay(S_pay s_pay);

    IPage<S_pay> regchekspay(Page<S_pay> page);

    IPage<S_pay> selSpyInb(Page<S_pay> page);

    IPage<S_pay> inbRegList(Page<S_pay> page);

    IPage<S_pay> checkCell(Page<S_pay> page);

    void checkSpay(S_pay s_pay);

    void checkSpayNo(S_pay s_pay);

    void updInbStaSpay(Long id);

    void sPayRegCell(@Param("sum") Integer sum, @Param("parentId") Long parentId);


    void sPayCellOver(S_pay s_pay);

    IPage<S_pay>spayCellInfo(Page<S_pay> page);

}
